
/**
 * 自定义弹出框
 * @param parantEleId 控件唯一识别ID
 * @param nameTable 弹出框识别码
 * @param codeOfValue 取值字段
 * @param codeOfName 展示字段
 * @returns
 */
function showModalForDiy(parantEleId, nameTable, codeOfValue, codeOfName) {
	var w=($(window).width()*0.9);
	var h=($(window).height() - 50);
    layer.open({
        type: 2,
        area: [w+'px', h +'px'],
        fix: true,
        maxmin: false,
        shadeClose: true,
        shade:0.4,
        title: "选择",
        content: '/toModalSelectorForDiy?parantEleId=' + parantEleId + '&nameTable=' + nameTable + '&codeOfValue=' + codeOfValue + '&codeOfName=' + codeOfName
    });
}